package ar.com.globallogic.promomr.api.resources;

import java.util.Date;

import org.codehaus.jackson.map.annotate.JsonSerialize;

import ar.com.globallogic.promomr.utils.CustomDateSerializer;

public class PublicationResponse {
	
	private String id;
	private String state;
	private Date publicationDate;
	private String contentType;
	private String contentId;
	private String contentName;
	private String contentDescription;
	private String contentResource;
	private String userName;
	
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getState() {
		return state;
	}
	public void setState(String state) {
		this.state = state;
	}
	@JsonSerialize(using = CustomDateSerializer.class)
	public Date getPublicationDate(){
		return publicationDate;
	}
	public void setPublicationDate(Date publicationDate){
		this.publicationDate = publicationDate;
	}
	public String getContentType() {
		return contentType;
	}
	public void setContentType(String contentType) {
		this.contentType = contentType;
	}
	public String getContentId() {
		return contentId;
	}
	public void setContentId(String contentId) {
		this.contentId = contentId;
	}
	public String getContentName() {
		return contentName;
	}
	public void setContentName(String contentName) {
		this.contentName = contentName;
	}
	public String getContentDescription() {
		return contentDescription;
	}
	public void setContentDescription(String contentDescription) {
		this.contentDescription = contentDescription;
	}
	public String getContentResource(){
		return this.contentResource;
	}
	public void setContentResource(String contentResource){
		this.contentResource = contentResource;
	}
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
}
